package com.shape.sdk.net;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by ouzhiyin on 31/01/2018.
 */

public class ResultRequest implements Serializable {
  public class Record {
    private long userId;
    private int scheduleId;
    private String trainData;

    public void setUserId(long userId) {
      this.userId = userId;
    }
    public void setScheduleID(int scheduleId) {
      this.scheduleId = scheduleId;
    }
    public void setTrainData(String trainData) {
      this.trainData = trainData;
    }
  }
  private List<Record> records = new ArrayList<>();

  public void addRecord(long userId, int scheduleId, String trainData) {
    Record record = new Record();
    record.setUserId(userId);
    record.setScheduleID(scheduleId);
    record.setTrainData(trainData);
    records.add(record);
  }

}
